import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' // 持久化
import useCounterStore from './modules/counter'
import useAppStore from './modules/app'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
export { useCounterStore, useAppStore }
export default pinia
